mps_disk_usage

Configuration for Available Disks Usage resource.

Read/write properties

parent_id<String>

.

id<String>

.

disk_partition<String>

Disk Partition.

parent_name<String>

.

Read only properties

disk_capacity<Double>

Disk Total Capacity in KB.

used_space<Double>

Used space available in KB.

disk_usage<Double>

Disk Usage (%).

free_space<Double>

Free space available in KB.

disk_slice<String>

Disk Slice.

total_space<Double>

Total space in KB.

disk_name<String>

Disk Name.

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

get (all)get

get (all)

URL:https://<MGMT-IP>/nitro/v2/config/mps_disk_usage

Query-parameters:

filter

https://<MGMT-IP>/nitro/v2/config/mps_disk_usage?filter=property-name1:property-value1,property-name2:property-value2

Use this query-parameter to get the filtered set of mps_disk_usage resources configured on the system. You can set a filter on any property of the resource.

pagesize=#no&pageno=#no

https://<MGMT-IP>/nitro/v2/config/mps_disk_usage?pagesize=#no&pageno=#no

Use this query-parameter to get the mps_disk_usage resources in chunks.

count

https://<MGMT-IP>/nitro/v2/config/mps_disk_usage?count=yes

Use this query-parameter to get the count of mps_disk_usage resources.

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "mps_disk_usage":[{
      "parent_id":<String_value>,
      "disk_capacity":<Double_value>,
      "used_space":<Double_value>,
      "id":<String_value>,
      "disk_usage":<Double_value>,
      "free_space":<Double_value>,
      "disk_slice":<String_value>,
      "total_space":<Double_value>,
      "disk_name":<String_value>,
      "disk_partition":<String_value>,
      "parent_name":<String_value>}]}

get

URL:https://<MGMT-IP>/nitro/v2/config/mps_disk_usage/id_value<String>

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "mps_disk_usage":[{
      "parent_id":<String_value>,
      "disk_capacity":<Double_value>,
      "used_space":<Double_value>,
      "id":<String_value>,
      "disk_usage":<Double_value>,
      "free_space":<Double_value>,
      "disk_slice":<String_value>,
      "total_space":<Double_value>,
      "disk_name":<String_value>,
      "disk_partition":<String_value>,
      "parent_name":<String_value>}]}